package com.situ.mallsdauweb.controller;

import com.situ.mallsdauweb.service.IOrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Date: 2023/6/7 17:13
 * @Author: 王辉
 * @Description:
 */
@Controller
@RequestMapping("/personal")
public class PersonalController {

    @Autowired
    private IOrderInfoService orderInfoService;

    @GetMapping("/order")
    public String order() {
//        orderInfoService.updateStatus(code,"已支付");
        return "order";
    }

    @GetMapping("/address")
    public String address() {
        return "address";

    }
}
